package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.FutSettleBean;

/**
* 描述：获取每日结算参数数据，包括交易和交割费率等
* @author: codesmith
**/
@Data
@TableName("fut_settle")
public class FutSettleEntity implements FutSettleBean {
    
    /*
    * 合约代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;
    /*
    * 交易日期
    */
    @TableId
    @TableField("`trade_date`") protected LocalDate tradeDate;

    @TableField("`settle`") protected Double settle;

    @TableField("`trading_fee_rate`") protected Double tradingFeeRate;

    @TableField("`trading_fee`") protected Double tradingFee;

    @TableField("`delivery_fee`") protected Double deliveryFee;

    @TableField("`b_hedging_margin_rate`") protected Double bHedgingMarginRate;

    @TableField("`s_hedging_margin_rate`") protected Double sHedgingMarginRate;

    @TableField("`long_margin_rate`") protected Double longMarginRate;

    @TableField("`short_margin_rate`") protected Double shortMarginRate;

    @TableField("`offset_today_fee`") protected Double offsetTodayFee;

    @TableField("`exchange`") protected String exchange;
}